<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
 	<script language="JavaScript">
	</script>
	<style type="text/css">
	<!--
	body {
		margin-left: 0px;
		margin-top: 0px;
		margin-right: 0px;
		margin-bottom: 0px;
		background-color: #EEF2FB;
	}
	-->
	</style>
	<link href="../images/skin.css" rel="stylesheet" type="text/css" />


  </head>
  
  <body>
  <table width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<td>
			 <table width="100%" border="0" cellpadding="0" cellspacing="0">
			 	<tr>
			 		<td width="17" valign="top" background="../images/mail_leftbg.gif"><img src="../images/left-top-right.gif" width="17" height="29" /></td>
				    <td valign="top" background="../images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
				      <tr>
				        <td height="31">Edit Personal Info</td>
				      </tr>
				    </table></td>
				    <td width="16" valign="top" background="../images/mail_rightbg.gif"><img src="../images/nav-right-bg.gif" width="16" height="29" /></td>
			 	</tr>
			 </table>
			</td>    
		</tr>
		<tr>
			<td >
  <table width="100%" height="116" border="0" cellpadding="0" cellspacing="0" >  
  <tr>
  <td width="17" background="../images/mail_leftbg.gif"><img src="../images/mail_leftbg.gif" width="17" height="17" /></td>
  <td valign="top">
	<s:form action="saveOrUpdateUserInfo" >
    <s:textfield name="user.username" id="username" label="Username"/> 
    <s:textfield name="user.pin" id="pin" label="PIN"/>
    <s:textfield name="user.enable" id="enable" label="Enable"/>
    <s:textfield name="user.detailUser.familyName" id="detailUser.familyName" label="Family Name"/>    
    <s:textfield name="user.detailUser.lastName" id="detailUser.lastName" label="Last_Name"/>
    <s:textfield name="user.detailUser.birthday" id="detailUser.birthday" label="Birthday"/> 
    <s:select label="City"  name="user.detailUser.city.id" list="citys" listKey="id"  listValue="name" headerKey="0" headerValue="--please select--"/> 
    <s:select label="Hospital"  name="user.detailUser.hospital.id" list="hospitals" listKey="id"  listValue="name" headerKey="0" headerValue="--please select--"/>       
    <s:textfield name="user.detailUser.email" id="detailUser.email" label="Email" />     
    <s:textfield name="user.detailUser.fax" id="detailUser.fax" label="Fax"/>   
    <s:textfield name="user.detailUser.cellphone" id="detailUser.cellphone" label="CellPhone"/>     
    <s:textfield name="user.detailUser.officeTel" id="detailUser.officeTel" label="Official Tel"/>      
    <s:textfield name="user.detailUser.hospitalTel" id="detailUser.hospitalTel" label="Hospital Tel"/>  
    <s:textfield name="user.detailUser.familyTel" id="detailUser.familyTel" label="Family Tel"/>
    <s:textfield name="user.detailUser.homeAddress" id="detailUser.homeAddress" label="Home_address"/>  
    <s:textfield name="user.detailUser.officeAddress" id="detailUser.officeAddress" label="Official address"/>
    <s:textfield name="user.detailUser.hospitalAddress" id="detailUser.hospitalAddress" label="    Hospital address"/> 
    <s:textfield name="user.detailUser.personalPicture" id="detailUser.personalPicture" label="Personal Picture"/> 
    <s:textfield name="user.detailUser.introduction" label="Introduction"/>
    <s:submit />
  </s:form>

</td><td width="16" background="../images/mail_rightbg.gif"><img src="../images/mail_rightbg.gif" width="16" height="17" /></td></tr>
</table>

			</td>
		</tr>
		<tr>
			<td>
			 <table width="100%" border="0" cellpadding="0" cellspacing="0">
			 	<tr>
			 		<td width="17" valign="top" background="../images/mail_leftbg.gif"><img src="../images/buttom_left2.gif" width="17" height="17" /></td>
				    <td valign="top" background="../images/buttom_bgs.gif"><img src="../images/buttom_bgs.gif" width="17" height="17"></td>
				    <td width="16" valign="top" background="../images/mail_rightbg.gif"><img src="../images/buttom_right2.gif" width="16" height="17" /></td>
			 	</tr>
			 </table>
			</td>    
		</tr>
	</table>
  
  
  
   

  </body>
</html>
